package com.mycity.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.mycity.bean.Report;

public class ReportRowMapper implements RowMapper<Report> {

	  @Override
	  public Report mapRow(ResultSet rs, int line) throws SQLException {
	    ReportSetExtractor extractor = new ReportSetExtractor();
	    return extractor.extractData(rs);
	  }
}
